Digitally enabled cardiac rehabilitation